package com.example.master.mapper;

import com.example.master.entity.vo.GamesVO;
import org.apache.ibatis.annotations.*;

import java.util.*;

/**
 * @Author Mr.Yuan
 * @Date 2023/2/6 16:12
 * @PackageName:com.example.master.mapper
 * @ClassName: ServiceManager
 * @Description: TODO
 * @Version 1.0
 */
@Mapper
public interface GameMapper {
    @Select("SELECT g.id ,game_img,game_name from tb_subject as s,tb_game as g where  g.subject_code = s.code and s.id = #{id}")
    List<GamesVO> getCode(Integer id);
}
